home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / web / fweb / fweb-1.30 / manual / demo1.tex < prev    next >
Texinfo Document  |  1993-06-16  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Texinfo Document (document/texInfo).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file TeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 46 57 45 41 56 45 | 20 76 31 2e 33 30 20 28 |% FWEAVE| v1.30 (|
|00000010| 4d 61 79 20 31 35 2c 20 | 31 39 39 33 29 0a 0a 5c |May 15, |1993)..\|
|00000020| 69 6e 70 75 74 20 66 77 | 65 62 6d 61 63 2e 73 74 |input fw|ebmac.st|
|00000030| 79 0a 0a 5c 57 62 65 67 | 69 6e 5b 5d 7b 61 72 74 |y..\Wbeg|in[]{art|
|00000040| 69 63 6c 65 7d 7b 31 65 | 6d 7d 7b 31 65 6d 7d 7b |icle}{1e|m}{1em}{|
|00000050| 64 65 6d 6f 31 2e 63 74 | 73 7d 7b 7b 5c 26 7d 7b |demo1.ct|s}{{\&}{|
|00000060| 5c 7c 7d 7b 5c 5c 7d 7b | 5c 5c 7d 7b 5c 5c 7d 7b |\|}{\\}{|\\}{\\}{|
|00000070| 5c 40 7d 7b 5c 2e 7d 7b | 5c 2e 7d 7d 0a 0a 25 20 |\@}{\.}{|\.}}..% |
|00000080| 2d 2d 2d 20 42 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |--- Begi|nning of|
|00000090| 20 75 73 65 72 27 73 20 | 6c 69 6d 62 6f 20 73 65 | user's |limbo se|
|000000a0| 63 74 69 6f 6e 20 2d 2d | 2d 0a 0a 0a 5c 64 65 66 |ction --|-...\def|
|000000b0| 5c 57 45 42 7b 5c 2e 7b | 57 45 42 7d 7d 20 25 20 |\WEB{\.{|WEB}} % |
|000000c0| 41 20 54 65 58 20 6d 61 | 63 72 6f 20 64 65 66 69 |A TeX ma|cro defi|
|000000d0| 6e 69 74 69 6f 6e 20 69 | 6e 20 6c 69 6d 62 6f 2e |nition i|n limbo.|
|000000e0| 0a 0a 0a 0a 0a 5c 57 4e | 31 2e 20 20 44 45 4d 4f |.....\WN|1. DEMO|
|000000f0| 2e 20 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 64 |. This e|xample d|
|00000100| 65 6d 6f 6e 73 74 72 61 | 74 65 73 20 74 68 65 20 |emonstra|tes the |
|00000110| 75 73 65 20 6f 66 20 6e | 61 6d 65 64 20 6d 6f 64 |use of n|amed mod|
|00000120| 75 6c 65 73 2c 20 61 6e | 64 20 73 6f 6d 65 20 6f |ules, an|d some o|
|00000130| 74 68 65 72 0a 66 65 61 | 74 75 72 65 73 20 6f 66 |ther.fea|tures of|
|00000140| 7e 5c 57 45 42 2e 0a 0a | 5c 57 59 5c 57 50 5c 57 |~\WEB...|\WY\WP\W|
|00000150| 45 3a 69 66 6e 64 65 66 | 3a 24 5c 7c 4e 5c 57 49 |E:ifndef|:$\|N\WI|
|00000160| 4e 32 7b 30 7d 24 5c 70 | 61 72 0a 5c 57 50 5c 57 |N2{0}$\p|ar.\WP\W|
|00000170| 4d 64 24 5c 7c 4e 5c 57 | 49 4e 32 7b 30 7d 24 5c |Md$\|N\W|IN2{0}$\|
|00000180| 35 0a 24 5c 57 4f 7b 31 | 30 30 7d 7b 7d 24 5c 35 |5.$\WO{1|00}{}$\5|
|00000190| 0a 5c 57 43 7b 20 49 66 | 20 79 6f 75 20 64 65 66 |.\WC{ If| you def|
|000001a0| 69 6e 65 20 74 68 69 73 | 20 6d 61 63 72 6f 20 66 |ine this| macro f|
|000001b0| 72 6f 6d 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |rom the |command |
|000001c0| 6c 69 6e 65 20 62 79 20 | 73 61 79 69 6e 67 20 60 |line by |saying `|
|000001d0| 60 5c 2e 7b 2d 6d 4e 3d | 32 30 30 7d 27 27 2c 0a |`\.{-mN=|200}'',.|
|000001e0| 74 68 61 74 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |that def|inition |
|000001f0| 77 69 6c 6c 20 6f 76 65 | 72 72 69 64 65 20 74 68 |will ove|rride th|
|00000200| 69 73 20 6f 6e 65 2e 20 | 7d 5c 70 61 72 0a 5c 57 |is one. |}\par.\W|
|00000210| 50 5c 57 45 3a 65 6e 64 | 69 66 3a 5c 57 59 5c 70 |P\WE:end|if:\WY\p|
|00000220| 61 72 0a 5c 57 59 5c 57 | 50 20 5c 26 7b 70 72 6f |ar.\WY\W|P \&{pro|
|00000230| 67 72 61 6d 7d 20 5c 31 | 5c 5c 7b 6d 61 69 6e 7d |gram} \1|\\{main}|
|00000240| 5c 57 49 4e 31 7b 30 7d | 5c 32 5c 31 5c 36 0a 5c |\WIN1{0}|\2\1\6.\|
|00000250| 57 58 32 3a 43 6f 6d 6d | 6f 6e 20 64 65 63 6c 61 |WX2:Comm|on decla|
|00000260| 72 61 74 69 6f 6e 73 5c | 58 20 5c 58 5c 31 5c 32 |rations\|X \X\1\2|
|00000270| 5c 37 0a 5c 57 58 30 3a | 52 65 61 64 20 64 61 74 |\7.\WX0:|Read dat|
|00000280| 61 5c 58 20 5c 58 5c 36 | 0a 5c 57 58 30 3a 50 72 |a\X \X\6|.\WX0:Pr|
|00000290| 6f 63 65 73 73 20 64 61 | 74 61 5c 58 20 5c 58 5c |ocess da|ta\X \X\|
|000002a0| 36 0a 5c 57 58 30 3a 47 | 72 61 70 68 20 72 65 73 |6.\WX0:G|raph res|
|000002b0| 75 6c 74 73 5c 58 20 5c | 58 5c 32 5c 36 0a 5c 26 |ults\X \|X\2\6.\&|
|000002c0| 7b 65 6e 64 7d 5c 57 59 | 5c 70 61 72 0a 5c 66 69 |{end}\WY|\par.\fi|
|000002d0| 20 25 20 45 6e 64 20 6f | 66 20 6d 6f 64 75 6c 65 | % End o|f module|
|000002e0| 20 31 0a 0a 5c 57 4d 32 | 2e 20 41 63 63 72 65 74 | 1..\WM2|. Accret|
|000002f0| 69 6e 67 20 61 6e 64 20 | 69 6e 73 65 72 74 69 6e |ing and |insertin|
|00000300| 67 20 5c 57 43 44 7b 20 | 5c 26 7b 63 6f 6d 6d 6f |g \WCD{ |\&{commo|
|00000310| 6e 7d 7d 20 64 65 63 6c | 61 72 61 74 69 6f 6e 73 |n}} decl|arations|
|00000320| 20 69 73 20 61 6e 20 69 | 6e 74 65 72 65 73 74 69 | is an i|nteresti|
|00000330| 6e 67 0a 75 73 65 20 6f | 66 0a 6e 61 6d 65 64 20 |ng.use o|f.named |
|00000340| 6d 6f 64 75 6c 65 73 2e | 0a 0a 5c 57 59 5c 57 50 |modules.|..\WY\WP|
|00000350| 5c 57 46 3a 3a 5c 57 58 | 32 3a 43 6f 6d 6d 6f 6e |\WF::\WX|2:Common|
|00000360| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 5c 58 20 | declara|tions\X |
|00000370| 5c 58 5c 20 5c 5c 7b 63 | 6f 6d 6d 6f 6e 7d 5c 57 |\X\ \\{c|ommon}\W|
|00000380| 59 5c 70 61 72 0a 5c 57 | 59 5c 57 50 5c 34 5c 34 |Y\par.\W|Y\WP\4\4|
|00000390| 5c 57 58 32 3a 43 6f 6d | 6d 6f 6e 20 64 65 63 6c |\WX2:Com|mon decl|
|000003a0| 61 72 61 74 69 6f 6e 73 | 5c 58 20 5c 58 24 7b 7d |arations|\X \X${}|
|000003b0| 5c 57 53 7b 7d 24 5c 36 | 0a 5c 26 7b 72 65 61 6c |\WS{}$\6|.\&{real|
|000003c0| 7d 20 5c 31 5c 7c 61 28 | 5c 7c 4e 5c 57 49 4e 32 |} \1\|a(|\|N\WIN2|
|000003d0| 7b 31 7d 29 5c 32 5c 36 | 0a 5c 26 7b 63 6f 6d 6d |{1})\2\6|.\&{comm|
|000003e0| 6f 6e 7d 20 5c 31 5c 7c | 61 5c 32 5c 57 59 5c 70 |on} \1\||a\2\WY\p|
|000003f0| 61 72 0a 5c 57 41 20 73 | 65 63 74 69 6f 6e 7e 33 |ar.\WA s|ection~3|
|00000400| 2e 0a 5c 57 55 20 73 65 | 63 74 69 6f 6e 7e 31 2e |..\WU se|ction~1.|
|00000410| 5c 66 69 20 25 20 45 6e | 64 20 6f 66 20 6d 6f 64 |\fi % En|d of mod|
|00000420| 75 6c 65 20 32 0a 0a 5c | 57 4d 33 2e 20 50 6f 73 |ule 2..\|WM3. Pos|
|00000430| 73 69 62 6c 79 20 61 66 | 74 65 72 20 6d 61 6e 79 |sibly af|ter many|
|00000440| 20 6d 6f 72 65 20 6d 6f | 64 75 6c 65 73 20 74 68 | more mo|dules th|
|00000450| 61 74 20 61 72 65 6e 27 | 74 20 73 68 6f 77 6e 20 |at aren'|t shown |
|00000460| 68 65 72 65 2c 20 77 65 | 20 67 65 74 20 74 6f 20 |here, we| get to |
|00000470| 63 6f 64 65 0a 72 65 6c | 61 74 65 64 20 74 6f 20 |code.rel|ated to |
|00000480| 67 72 61 70 68 69 63 73 | 2e 20 48 65 72 65 20 77 |graphics|. Here w|
|00000490| 65 20 61 63 63 72 65 74 | 65 20 6d 6f 72 65 20 69 |e accret|e more i|
|000004a0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 6e 74 6f 20 |nformati|on into |
|000004b0| 74 68 65 20 63 6f 6d 6d | 6f 6e 0a 64 65 63 6c 61 |the comm|on.decla|
|000004c0| 72 61 74 69 6f 6e 73 2e | 20 54 68 65 20 64 69 73 |rations.| The dis|
|000004d0| 63 72 65 74 69 7a 65 64 | 20 61 62 73 63 69 73 73 |cretized| absciss|
|000004e0| 61 20 64 61 74 61 20 69 | 73 20 68 65 6c 64 20 69 |a data i|s held i|
|000004f0| 6e 20 74 68 65 20 61 72 | 72 61 79 7e 5c 57 43 44 |n the ar|ray~\WCD|
|00000500| 7b 20 5c 5c 7b 78 78 7d | 7d 3b 0a 74 68 65 0a 6f |{ \\{xx}|};.the.o|
|00000510| 72 64 69 6e 61 74 65 20 | 69 73 20 69 6e 7e 5c 57 |rdinate |is in~\W|
|00000520| 43 44 7b 20 5c 5c 7b 79 | 79 7d 7d 2e 0a 5c 57 59 |CD{ \\{y|y}}..\WY|
|00000530| 5c 57 50 5c 34 5c 34 5c | 57 58 32 3a 43 6f 6d 6d |\WP\4\4\|WX2:Comm|
|00000540| 6f 6e 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 5c |on decla|rations\|
|00000550| 58 20 5c 58 24 7b 7d 5c | 50 51 7b 7d 24 5c 36 0a |X \X${}\|PQ{}$\6.|
|00000560| 5c 26 7b 72 65 61 6c 7d | 20 5c 31 5c 5c 7b 78 78 |\&{real}| \1\\{xx|
|00000570| 7d 28 5c 7c 4e 5c 57 49 | 4e 32 7b 31 7d 29 2c 20 |}(\|N\WI|N2{1}), |
|00000580| 5c 5c 7b 79 79 7d 28 5c | 7c 6e 29 5c 32 5c 35 0a |\\{yy}(\||n)\2\5.|
|00000590| 5c 57 63 7b 20 45 78 61 | 6d 70 6c 65 3a 20 5c 57 |\Wc{ Exa|mple: \W|
|000005a0| 43 44 7b 20 5c 26 7b 63 | 61 6c 6c 7d 20 24 5c 5c |CD{ \&{c|all} $\\|
|000005b0| 7b 63 75 72 76 65 7d 28 | 5c 5c 7b 78 78 7d 2c 5c |{curve}(|\\{xx},\|
|000005c0| 5c 7b 79 79 7d 2c 5c 7c | 4e 5c 57 49 4e 32 7b 31 |\{yy},\||N\WIN2{1|
|000005d0| 7d 2c 5c 57 4f 7b 31 7d | 29 7b 7d 24 7d 7d 5c 36 |},\WO{1}|){}$}}\6|
|000005e0| 0a 5c 26 7b 63 6f 6d 6d | 6f 6e 7d 20 5c 31 20 24 |.\&{comm|on} \1 $|
|000005f0| 7b 7d 7b 2f 7d 5c 5c 7b | 67 72 61 70 68 73 7d 7b |{}{/}\\{|graphs}{|
|00000600| 2f 7d 24 20 5c 5c 7b 78 | 78 7d 2c 20 5c 5c 7b 79 |/}$ \\{x|x}, \\{y|
|00000610| 79 7d 5c 32 5c 57 59 5c | 70 61 72 0a 5c 66 69 20 |y}\2\WY\|par.\fi |
|00000620| 25 20 45 6e 64 20 6f 66 | 20 6d 6f 64 75 6c 65 20 |% End of| module |
|00000630| 33 0a 0a 5c 57 4e 34 2e | 20 20 49 4e 44 45 58 2e |3..\WN4.| INDEX.|
|00000640| 0a 5c 66 69 20 25 20 45 | 6e 64 20 6f 66 20 6d 6f |.\fi % E|nd of mo|
|00000650| 64 75 6c 65 20 34 0a 0a | 5c 69 6e 70 75 74 20 64 |dule 4..|\input d|
|00000660| 65 6d 6f 31 2e 6e 64 78 | 0a 5c 69 6e 70 75 74 20 |emo1.ndx|.\input |
|00000670| 64 65 6d 6f 31 2e 6d 64 | 73 0a 0a 5c 57 69 6e 66 |demo1.md|s..\Winf|
|00000680| 6f 7b 22 66 77 65 61 76 | 65 20 2e 2f 64 65 6d 6f |o{"fweav|e ./demo|
|00000690| 31 20 2d 7a 64 65 6d 6f | 73 2e 73 74 79 20 2d 3d |1 -zdemo|s.sty -=|
|000006a0| 64 65 6d 6f 31 2e 74 65 | 78 22 7d 20 20 7b 22 2e |demo1.te|x"} {".|
|000006b0| 2f 64 65 6d 6f 31 2e 77 | 65 62 22 7d 20 7b 28 6e |/demo1.w|eb"} {(n|
|000006c0| 6f 6e 65 29 7d 0a 20 7b | 46 4f 52 54 52 41 4e 7d |one)}. {|FORTRAN}|
|000006d0| 0a 0a 5c 57 63 6f 6e 0a | |..\Wcon.| |
+--------+-------------------------+-------------------------+--------+--------+